package com.ruoyi.modules.mapper;
import com.ruoyi.modules.bean.TZjxdRwb;
import org.apache.ibatis.annotations.Param;

import com.ruoyi.modules.bean.TRwb;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;
import java.util.Map;

/**
* @author zzw
* @description 针对表【t_rwb(任务表)】的数据库操作Mapper
* @createDate 2024-03-29 15:33:14
* @Entity com.ruoyi.modules.modules.TRwb
*/
public interface TRwbMapper extends BaseMapper<TRwb> {

    Map<String, String> getFkzt(String sid);
    Map<String, String> addZjxdFksl(String sid);

    List<Map<String,String>> getFkxxByUserId(Map<String, String> params);
    List<Map<String,String>> getHistoryFkxxByUserId(Map<String, String> params);

    TRwb getFkxxInfo(Map<String, String> params);
    Map<String,String> getFkIdByRwbAndUserId(Map<String, String> params);
    TZjxdRwb getZjxdFkxxInfo(Map<String, String> params);

    List<TRwb> getRwPage(Map<String, String> params);

    String getCkr(TRwb rwb);

    int updateIsTranBySid(@Param("isTran") String isTran, @Param("sid") String sid);

    List<Map<String, Integer>> getSxlxCount(Map<String, String> params);
    List<Map<String, Integer>> getSxlxCountData(Map<String, String> params);
    List<Map<String, Integer>> getXdbmCount(Map<String, String> params);

    List<TRwb> getSidByWorkid(@Param("workid") String workid);

    Map<String, Object> getMyToDo(Map<String, String> params);
}




